package com.world.business.dict.domain.query;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * 数据字典数据
 *
 * @author WangYX
 * @version 1.0.0
 * @date 2023/07/28 11:08
 */
@Data
public class DictDataAddRequest {

    @NotNull(message = "字典类型Id必填")
    @ApiModelProperty("字典类型id")
    private Long dictTypeId;

    @NotNull(message = "标签必填")
    @ApiModelProperty("标签")
    private String label;

    @ApiModelProperty("值")
    private Integer value;

    @NotNull(message = "排序必填")
    @ApiModelProperty("排序")
    private Integer sort;

    @ApiModelProperty("状态")
    private String status;

    @ApiModelProperty("备注")
    private String remark;
}
